/**
 * 
 */
package com.orange.handler.expert;

import java.sql.SQLException;
import java.util.Map;

import com.orange.dbhelp.page.Page;
import com.orange.modules.entity.manage.AuthAnnouncement;

/**
 * @author gaogs
 *
 * 2016-12-15
 */
public interface AuthAnnouncementService {
	
	/**
	 * 保存公告信息
	 * @param a
	 */
	public void saveAuthAnnouncementInfo(AuthAnnouncement a);
	
	/**
	 * 根据id查询公告信息
	 * @param pid
	 * @return
	 */
	public AuthAnnouncement queryAuthAnnouncementById(String pid);
	
	/**
	 * 根据公告id删除公告信息
	 * @param pid
	 */
	public void deleteAuthAnnouncementInfo(String pid);
	
	/**
	 * 
	 * @param map
	 * @return
	 * @throws SQLException
	 */
	public Page<AuthAnnouncement> queryAuthSysDownloadInfoPage(Map<String,String>map) throws SQLException;

}
